package com.yinile.zc03.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;

@Entity
@Table(schema="db1", name="t_id_card")
public class IdCard {
	@Id
	@Column(name="c_id",length=100)
	private String id;
	
	@Column(name="c_no",length=20)
	private String no;
	
	@JoinColumn
	private String authorId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}
}
